package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品订单对象 shop_act
 * 
 * @author ruoyi
 * @date 2025-11-21
 */
public class ShopAct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 商品id */
    @Excel(name = "商品id")
    private Long shopId;

    /** 商品名 */
    @Excel(name = "商品名")
    private String shopName;

    /** 商品单价 */
    @Excel(name = "商品单价")
    private String shopMoney;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long shopNumber;

    /** 商品封面图 */
    @Excel(name = "商品封面图")
    private String shopImg;

    /** 订单状态 0,1,2 购物车，待支付。已支付 */
    @Excel(name = "订单状态")
    private String shopStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setShopMoney(String shopMoney) 
    {
        this.shopMoney = shopMoney;
    }

    public String getShopMoney() 
    {
        return shopMoney;
    }
    public void setShopNumber(Long shopNumber) 
    {
        this.shopNumber = shopNumber;
    }

    public Long getShopNumber() 
    {
        return shopNumber;
    }
    public void setShopImg(String shopImg) 
    {
        this.shopImg = shopImg;
    }

    public String getShopImg() 
    {
        return shopImg;
    }

    public void setShopStatus(String shopStatus)
    {
        this.shopStatus = shopStatus;
    }

    public String getShopStatus()
    {
        return shopStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("shopId", getShopId())
            .append("shopName", getShopName())
            .append("shopMoney", getShopMoney())
            .append("shopNumber", getShopNumber())
            .append("shopImg", getShopImg())
            .append("shopStatus", getShopStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
